#ifndef nsExchangeMailFolder_h__
#define nsExchangeMailFolder_h__

#include "nsMsgDBFolder.h"
#include "nsIMsgWindow.h"

class nsExchangeMailFolder : public nsMsgDBFolder
{
public: 
  nsExchangeMailFolder(void);
  virtual ~nsExchangeMailFolder(void);
  NS_DECL_ISUPPORTS_INHERITED

  // nsIMsgFolder methods:
  NS_IMETHOD GetMessages(nsISimpleEnumerator **result);
  NS_IMETHOD UpdateFolder(nsIMsgWindow *aWindow);

protected: 
  // nsMsgDBFolder methods:
  virtual void GetIncomingServerType(nsCString& serverType) { serverType.AssignLiteral("exchange"); } // see nsMsgDBFolder::parseURI()
  virtual nsresult CreateBaseMessageURI(const nsACString& aURI);
  virtual nsresult GetDatabase();
  virtual nsresult CreateChildFromURI(const nsCString &uri, nsIMsgFolder **folder);

};

#endif
